package b4.view
{
	import b4.view.component.system.SystemFuncBar;
	
	import org.puremvc.as3.interfaces.IMediator;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.mediator.Mediator;

	public class SystemFuncBarMediator extends Mediator implements IMediator
	{
		public static const NAME:String = 'SystemFuncBarMediator';
		
		public function SystemFuncBarMediator(viewComponent:Object=null)
		{
			super(NAME, viewComponent);
		}
		
		override public function listNotificationInterests():Array
		{
			return [
			];
		}
		
		override public function handleNotification(notification:INotification):void
		{
			var name:String = notification.getName();
			var body:Object = notification.getBody();
			
			switch ( name )
			{
			}
		}
		
		override public function onRegister():void
		{
			sendNotification(ApplicationMediator.ADD_CHILD, viewComponent);
		}
		
		private function get systemFuncBar():SystemFuncBar
		{
			return viewComponent as SystemFuncBar;
		}
	}
}